#!/usr/bin/perl
use strict;
use warnings;

BEGIN {
   # Sadly, Tcl.pm was not built for tk8.5, and a segmentation fault occurs 
   # whenever you "use Tcl;" because it tries to use tk8.4 stubs.  This can
   # be fixed in the Tcl.pm Makefile.PL, but such a change makes it harder
   # to share this program with others.  A second workaround is to set this
   # environment variable, which has solved the issue for me.
   $ENV{'PERL_DL_NONLAZY'} = 1;
}

use lib 'data/lib';
use Tkx;
use Bit::Vector;
use ChessLike::Game;
use ChessLike::Board;
use ChessLike::BoardUtils;
use ChessLike::Action;

print "Success!\n";
print "arch = [$^O]\n";
